<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
request-contextPath：${ basePath! } </br>
stirng：${message!} </br>
long：${age!} </br>
boolean：${flag!?c} </br>
date：${date!?string("yyyy-MM-dd HH:mm:ss")} </br>
null：${nul!"我是默认值"}

</br></br>

自定义对象取值</br>
${(user.name)!} ${(user.age)!}

</br></br>

集合对象</br>
<#list list as item >
    ${item!}
</#list>

</br></br>

Map键值对</br>
<#list map?keys as key >
  ---(${key!} : ${map[key]!})---
</#list>

</br></br>

if语句</br>
<#assign ifobj="okxx">
<#if ifobj == "ok">
    ifobj = ${ifobj}
<#else >
    ifobj 不等于 ok
</#if>
</body>
</html>